package me.jessyan.mvparms.demo.mvp.ui.holder;

import android.view.View;

import com.jess.arms.base.BaseHolder;

import me.jessyan.mvparms.demo.R;
import me.jessyan.mvparms.demo.mvp.ui.widget.CustomIntColorChangeTextView;

/**
 * @author DrChen
 * @Date 2019/3/5 0005.
 * qq:1414355045
 */
public class MyInteralRecordMothHoleder extends BaseHolder<Boolean>{
    private   CustomIntColorChangeTextView mothRecordTv ;
    public MyInteralRecordMothHoleder(View itemView) {
        super(itemView);
        mothRecordTv = itemView.findViewById(R.id.moth_record_tv);
    }

    @Override
    public void setData(Boolean data, int position) {

        //设置绿颜色的数字
      mothRecordTv.setTextSignIntColor("获取：-281","#FF4554","#7ABC5D");
    }
}
